package com.example.bijiabao.services;

import com.example.bijiabao.entity.book;
import com.example.bijiabao.entity.bookPlatform;
import com.example.bijiabao.entity.user;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface spbookServices {

    //连接book,platform,通过ISBN查询
    List<bookPlatform> findAllBookByISBN(String ISBN);

    //详情页最便宜商品
    bookPlatform findBookByISBN(String ISBN);

    //相同作者的书
    List<book> findBookByWrietr(String writer);

    //
    user selectbyUserName(String userName);
}
